package com.lj.ljminsu.merchant.GuanjiaController;

import com.lj.ljminsu.merchant.GuanjiaBean.Oderxq;
import com.lj.ljminsu.merchant.GuanjiaService.impl.OderService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
@CrossOrigin
public class OderXqController {
    @Resource
    private OderService oderService;
    @RequestMapping("orderXq")
    @ResponseBody
    public Oderxq tjOrderList(Integer oderId ){
        Oderxq oderXq = oderService.findOderXq(oderId);
        return oderXq;
    }
}
